﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo3_1_3
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var person = new Person() { Name = "张三", Age = 20 };
            var hashcode = person.GetHashCode().ToString("x");
            Console.WriteLine("hashcode="+hashcode);
            Debugger.Break();
            Console.ReadLine();


        }

        public class Person
        {
            public string Name { get; set; }
            public int Age { get; set; }
        }

    }
}
